package com.xiaomi.service;

import com.xiaomi.entity.Details;

import java.util.List;
import java.util.Map;

/**
 * @ClassName DetailsService
 * @Description TODO
 * @Author WL
 * @Date 2021/12/1 19:21
 * @Version 1.0
 **/
public interface DetailsService {
    /**
     * @MethodName lists
     * @Description TODO
     * @Param startRow
     * @Param limit
     * @Return [java.lang.Integer, java.lang.Integer]
     * @Author WL
     * @Date 2021/12/1 19:26
     **/
    List<Details> pageSearch(Map<String,Object> pars);

    /**
     * @MethodName getCount
     * @Description TODO
     * @Return []
     * @Author WL
     * @Date 2021/12/1 19:26
     **/
    Integer getCount(Map<String,Object> pars);
    void insert(Details details);
    void update(Details details);
    Integer delete(Integer id);
}
